package com.qiangqiang.taskuser.service;

import com.qiangqiang.taskuser.dto.NickNameDTO;
import com.qiangqiang.taskuser.dto.UserDTO;
import com.qiangqiang.taskuser.entity.UserInfo;

import java.util.List;

public interface UserService {

    List<UserDTO> getUserList(int page, int pageSize);

    UserDTO getUserById(long userId);

    UserDTO getUserByNickName(String nickName);

    boolean upSertUser(UserInfo user);

    boolean removeUser(long userId);

    List<String> getNicknamesByIds(List<Long> userIds);

    List<NickNameDTO> getNickNameDTOByIds(List<Long> userIds);
}
